package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author jinagjr
 * @tablename sec_bank
 */
@TableName(value ="sec_bank")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SecBank implements Serializable {
    /**
     * 题库编号
     */
    @TableId(type = IdType.AUTO)
    private Long bankId;

    /**
     * 题库名称
     */
    private String bankName;

    /**
     * 题库类型
     */
    private Integer bankType;

    /**
     * 题库题数
     */
    private Integer bankProblems;

    /**
     * 题库描述
     */
    private String bankDesc;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
